package com.cloud_sang.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassTitle: CommonResult
 * @ProjectName springcould2020
 * @Description: Json封装体
 * @Author Sangsang
 * @Date 2020/9/9
 * @Time 11:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResult<T> {
	private Integer code;
	private String message;
	private T data;

	public CommonResult(Integer code,String message){
		this(code,message,null);
	}

}
